package cc.customer.system.service;

import cc.customer.common.domain.ResponseBo;
import cc.customer.common.service.IService;
import cc.customer.system.domain.CDingConfig;
import com.alibaba.fastjson.JSONArray;


/**
 * Description: customer
 * Created by yhsh on 2019/12/6 10:22
 * version 2.0
 * 方法说明 推送钉钉配置
 */
public interface DingConfigServices extends IService<CDingConfig> {

	/**新增项目名称***/
	ResponseBo addOrUpdateConfg(CDingConfig cDingConfig);
	/**查询项目**/
	ResponseBo selectConfig(CDingConfig config);
	/**删除项目**/
	ResponseBo deleteSelectInter(String exName,String type);
	/**根据部门查询所有的钉钉人员**/
	ResponseBo selectDingUserByDeptid(String exName,String deptid,String type);
	/**保存项目的信息**/
	ResponseBo saveDingUserConfig(CDingConfig cDingConfig);

	CDingConfig  selectAllCdingConfig(String exName,String deptid,String type);

	ResponseBo selectDingByDept(String deptid,String type);

}
